package com.yuange.promethues.common;

public class PrdMetricsInfo {

    public static final String CLUSTER_NAME_YUANGE = "yuange";

    public static final String CLUSTER_TYPE_NAME_YUANGE = "yuangeDNActive";
    public static final String CLUSTER_TYPE_NAME_YUANGEACTIVE = "yuangeActive";

    //Yarn地址端口
    public static final String CLUSTER_URL_YARN_YUANGE = "127.0.0.1";
    public static final Integer CLUSTER_PORT_YARN_YUANGE = 8088;

    //NameNode地址端口
    public static final String CLUSTER_URL_NAMENODE_YUANGE = "127.0.0.1";
    public static final Integer CLUSTER_PORT_NAMENODE_YUANGE = 9870;
    public static final Integer CLUSTER_PORT_NAMENODE_SOCKET_YUANGE = 9820;

    //HIVESERVER2地址端口
    public static final String CLUSTER_URL_HIVESERVER2_YUANGE212 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_HIVESERVER2_YUANGE = 10002;
    public static final Integer CLUSTER_PORT_HIVESERVER2_SOCKET_YUANGE = 10000;

    //HIVEMETASTORESERVER地址端口
    public static final String CLUSTER_URL_HIVEMETASTORESERVER_YUANGE215 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_HIVEMETASTORESERVER_YUANGE = 9083;

    //JOBHISTORY_SERVER地址端口
    public static final String CLUSTER_URL_JOBHISTORY_SERVER_YUANGE = "127.0.0.1";
    public static final Integer CLUSTER_PORT_JOBHISTORY_SERVER_YUANGE = 19888;

    //RESOURCEMANAGER地址端口
    public static final String CLUSTER_URL_RESOURCEMANAGER_YUANGE203 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_RESOURCEMANAGER_YUANGE = 8088;

    //JOURNALNODE地址端口
    public static final String CLUSTER_URL_JOURNALNODE_YUANGE205 = "127.0.0.1";
    public static final String CLUSTER_URL_JOURNALNODE_YUANGE212 = "127.0.0.1";
    public static final String CLUSTER_URL_JOURNALNODE_YUANGE215 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_JOURNALNODE_YUANGE = 8480;

    //DATANODE地址端口
    public static final String CLUSTER_URL_DATANODE_YUANGE201 = "127.0.0.1";
    public static final String CLUSTER_URL_DATANODE_YUANGE203 = "127.0.0.1";
    public static final String CLUSTER_URL_DATANODE_YUANGE204 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_DATANODE_YUANGE = 9864;
    public static final Integer CLUSTER_PORT_DATANODE_SOCKET_YUANGE = 9866;

    //NODEMANAGER地址端口
    public static final String CLUSTER_URL_NODEMANAGER_YUANGE201 = "127.0.0.1";
    public static final String CLUSTER_URL_NODEMANAGER_YUANGE203 = "127.0.0.1";
    public static final String CLUSTER_URL_NODEMANAGER_YUANGE204 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_NODEMANAGER_YUANGE = 8042;

    //ZOOKEEPER地址端口
    public static final String CLUSTER_URL_ZOOKEEPER_YUANGE201 = "127.0.0.1";
    public static final String CLUSTER_URL_ZOOKEEPER_YUANGE212 = "127.0.0.1";
    public static final String CLUSTER_URL_ZOOKEEPER_YUANGE215 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_ZOOKEEPER_YUANGE = 2181;

    //SPARKHISTORYSERVER地址端口
    public static final String CLUSTER_URL_SPARKHISTORYSERVER_YUANGE201 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_SPARKHISTORYSERVER_YUANGE = 18080;

    //ZEPPELIN地址端口
    public static final String CLUSTER_URL_ZEPPELIN_YUANGE = "127.0.0.1";
    public static final Integer CLUSTER_PORT_ZEPPELIN_YUANGE = 8080;

    //AZKABAN_SERVER地址端口
    public static final String CLUSTER_URL_AZKABAN_SERVER_YUANGE = "127.0.0.1";
    public static final Integer CLUSTER_PORT_AZKABAN_SERVER_YUANGE = 8081;

    //AZKABAN_EXECUTOR地址端口
    public static final String CLUSTER_URL_AZKABAN_EXECUTOR_YUANGE201 = "127.0.0.1";
    public static final String CLUSTER_URL_AZKABAN_EXECUTOR_YUANGE203 = "127.0.0.1";
    public static final String CLUSTER_URL_AZKABAN_EXECUTOR_YUANGE204 = "127.0.0.1";
    public static final Integer CLUSTER_PORT_AZKABAN_EXECUTOR_YUANGE = 12321;

    //组件名称
    public static final String COMPONENT_NAME_HIVEMETASTORESERVER = "HiveMetastoreServer";
    public static final String COMPONENT_NAME_HIVESERVER2 = "HiveServer2";
    public static final String COMPONENT_NAME_NAMENODE = "NameNode";
    public static final String COMPONENT_NAME_NODEMANAGER = "NodeManager";
    public static final String COMPONENT_NAME_JOBHISTORY_SERVER = "JobHistory_Server";
    public static final String COMPONENT_NAME_RESOURCEMANAGER = "ResourceManager";
    public static final String COMPONENT_NAME_JOURNALNODE = "JournalNode";
    public static final String COMPONENT_NAME_DATANODE = "DataNode";
    public static final String COMPONENT_NAME_ZOOKEEPER = "Zookeeper";
    public static final String COMPONENT_NAME_SPARKHISTORYSERVER = "SparkHistoryServer";
    public static final String COMPONENT_NAME_ZEPPELIN = "Zeppelin";
    public static final String COMPONENT_NAME_AZKABAN_SERVER = "Azkaban_Server";
    public static final String COMPONENT_NAME_AZKABAN_EXECUTOR = "Azkaban_Executor";

    //URL接口
    public static final String CLUSTER_SCHEDULER_IMPL = "/ws/v1/cluster/scheduler";
    public static final String CLUSTER_METRICS_IMPL = "/ws/v1/cluster/metrics";
    public static final String CLUSTER_JMX_IMPL = "/jmx";

}
